import sympy

x = sympy.Symbol('x')
a = 0
b = 1
f = x
g = x ** 2

integral_f = sympy.integrate(f, (x, a, b))
integral_g = sympy.integrate(g, (x, a, b))

print("∫ from {} to {} of {} dx = {}".format(a, b, f, integral_f))
print("∫ from {} to {} of {} dx = {}".format(a, b, g, integral_g))
print("Is ∫ from {} to {} of f(x)dx >= ∫ from {} to {} of g(x)dx? {}".format(a, b, a, b, integral_f >= integral_g))